package com.example.newbilityblog.admin.infrastructure.entity;

import com.example.newbilityblog.common.jpa.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "admin_user")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class AdminUserEntity extends BaseEntity {
    @Id
    private Long id;
    @Column
    private String username;
    @Column
    private String password;
}
